import request from '@/utils/request'
//  获取品牌数据
const findBrandAPI = (limit = 6) => request({
  method: 'get',
  url: '/home/brand',
  data: { limit }
})

// 获取广告图
const findBannerAPI = () => request({
  method: 'get',
  url: '/home/banner'

})

const findNewAPI = () => request({
  method: 'get',
  url: 'home/new'
})

// 人气推荐
const findHotAPI = () => request({
  method: 'get',
  url: 'home/hot'
})

// 获取最新专题
const findSpecialAPI = () => request({
  method: 'get',
  url: 'home/special'
})

export { findBrandAPI, findBannerAPI, findNewAPI, findHotAPI, findSpecialAPI }
